HelloPlus\Modules\TemplateParts\Documents\Ehp_Document_Base S

Total Complexity 31
Dependencies 6
Dependents 1
Total lines 204
Lines of code 123
Logical lines of code 65
Comment lines 41
Methods 17
Properties 0

Methods 17

Method Rating Maintainability Complexity Lines of code
register_hooks()
S
56 6 18
maybe_save_as_draft()
S
62 4 10
maybe_get_template()
S
62 3 11
save()
S
63 3 10
get_all_document_posts()
S
58 1 17
get_document_post()
S
74 2 4
print_content()
S
67 2 8
get_properties()
S
60 1 13
get_template_hook()
S
100 1 0
get_remote_library_config()
S
68 1 7
allow_only_one_active_document()
S
74 1 4
get_active_document()
S
68 1 8
get_templates_path()
S
80 1 3
get_name()
S
80 1 3
get_create_url()
S
74 1 4
get_css_wrapper_selector()
S
80 1 3
get_template()
S
100 1 0